Users with the managechangetags right but without the deletechangetags
right saw a jagged table, with cells missing from the Actions column.
Also, users with the deletechangetags right but without the
managechangetags didn't see a column header for the Actions column.
Change-Id: I66198cfb181ba8616a98b16f84eaa843f0352f70
Xml::tags( 'th', null, $this->msg( 'tags-source-header' )->parse() ) .
Xml::tags( 'th', null, $this->msg( 'tags-active-header' )->parse() ) .
Xml::tags( 'th', null, $this->msg( 'tags-hitcount-header' )->parse() ) .
- ( $userCanManage ?
+ ( ( $userCanManage || $userCanDelete ) ?
Xml::tags( 'th', [ 'class' => 'unsortable' ],
$this->msg( 'tags-actions-header' )->parse() ) :
'' )
}
- if ( $actionLinks ) {
+ if ( $showDeleteActions || $showManageActions ) {
$newRow .= Xml::tags( 'td', null, $this->getLanguage()->pipeList( $actionLinks ) );
}